inherited FPesquisaCobranca: TFPesquisaCobranca
  Left = 245
  Top = 108
  Caption = 'Pesquisa Cobran'#231'a'
  ClientHeight = 341
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
  end
  inherited Panel1: TPanel
    Height = 300
    object Label2: TLabel [0]
      Left = 203
      Top = 36
      Width = 79
      Height = 13
      Caption = 'Tipo Documento'
    end
    object Label10: TLabel [1]
      Left = 6
      Top = 134
      Width = 46
      Height = 13
      Caption = 'Empresas'
    end
    object Label1: TLabel [2]
      Left = 5
      Top = 1
      Width = 46
      Height = 13
      Caption = 'Cobran'#231'a'
    end
    object Label3: TLabel [3]
      Left = 72
      Top = 18
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label5: TLabel [4]
      Left = 147
      Top = 1
      Width = 33
      Height = 13
      Caption = 'Pedido'
    end
    object Label9: TLabel [5]
      Left = 5
      Top = 38
      Width = 23
      Height = 13
      Caption = 'Data'
    end
    object Label6: TLabel [6]
      Left = 97
      Top = 55
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label4: TLabel [7]
      Left = 236
      Top = 1
      Width = 48
      Height = 13
      Caption = 'Romaneio'
    end
    object Label7: TLabel [8]
      Left = 324
      Top = 1
      Width = 53
      Height = 13
      Caption = 'Nota Fiscal'
    end
    object Label8: TLabel [9]
      Left = 5
      Top = 75
      Width = 40
      Height = 13
      Caption = 'Portador'
    end
    object Label11: TLabel [10]
      Left = 139
      Top = 75
      Width = 114
      Height = 13
      Caption = 'Classifica'#231#227'o Financeira'
    end
    inherited DBGrid1: TDBGrid
      Top = 188
      Height = 91
      TabOrder = 13
      Columns = <
        item
          Expanded = False
          FieldName = 'COB_CODIGO'
          Title.Caption = 'Codigo'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_DATA'
          Title.Caption = 'Data'
          Width = 70
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_TIPO'
          Title.Caption = 'Tipo'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_VALOR'
          Title.Caption = 'Valor'
          Width = 68
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_NPRESTACAO'
          Title.Caption = 'N'#176' Presta'#231#245'es'
          Width = 83
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_NDIASPRIMEIRAPRESTACAO'
          Title.Caption = 'N'#176' 1'#176' Presta'#231#227'o'
          Width = 83
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_ITERVALODIASPRESTACAO'
          Title.Caption = 'Intervalo de Dias Presta'#231#227'o'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_PEDIDOVENDA'
          Title.Caption = 'Pedido'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_ROMANEIO'
          Title.Caption = 'Romaneio'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'COB_NFVENDA'
          Title.Caption = 'Nota Fiscal'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'TIPO_DOC_DESCRICAO'
          Title.Caption = 'Tipo Documento'
          Width = 200
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'PORT_DESCRICAO'
          Title.Caption = 'Portador'
          Width = 200
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'DESCRICAO'
          Title.Caption = 'Classifica'#231#227'o Financeira'
          Width = 200
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 279
      TabOrder = 14
    end
    object DBLCBTipoDocumento: TDBLookupComboBox
      Left = 203
      Top = 50
      Width = 206
      Height = 21
      KeyField = 'TIPO_DOC_CODIGO'
      ListField = 'TIPO_DOC_DESCRICAO'
      ListSource = DSTipoDocumento
      TabOrder = 7
      OnKeyDown = DBLCBTipoDocumentoKeyDown
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 6
      Top = 118
      Width = 118
      Height = 17
      Caption = 'Todas as Empresas'
      TabOrder = 11
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 148
      Width = 409
      Height = 40
      Align = alBottom
      Columns = 1
      ItemHeight = 13
      TabOrder = 12
    end
    object ECobrancaIni: TEdit
      Left = 5
      Top = 14
      Width = 64
      Height = 21
      TabOrder = 0
    end
    object ECobrancaFim: TEdit
      Left = 80
      Top = 14
      Width = 64
      Height = 21
      TabOrder = 1
    end
    object RGSituacaoCobranca: TRadioGroup
      Left = 143
      Top = 112
      Width = 265
      Height = 30
      Caption = 'Situa'#231#227'o Cobran'#231'a'
      Columns = 3
      ItemIndex = 2
      Items.Strings = (
        'Em aberto'
        'Encerrado'
        'Todos')
      TabOrder = 10
    end
    object EPedido: TEdit
      Left = 147
      Top = 14
      Width = 85
      Height = 21
      TabOrder = 2
    end
    object DEDataIni: TDateEdit
      Left = 5
      Top = 51
      Width = 92
      Height = 21
      NumGlyphs = 2
      TabOrder = 5
    end
    object DEDataFim: TDateEdit
      Left = 106
      Top = 51
      Width = 92
      Height = 21
      NumGlyphs = 2
      TabOrder = 6
    end
    object ERomaneio: TEdit
      Left = 236
      Top = 14
      Width = 85
      Height = 21
      TabOrder = 3
    end
    object ENFVenda: TEdit
      Left = 324
      Top = 14
      Width = 85
      Height = 21
      TabOrder = 4
    end
    object DBLCBPortador: TDBLookupComboBox
      Left = 5
      Top = 90
      Width = 130
      Height = 21
      KeyField = 'PORT_CODIGO'
      ListField = 'PORT_DESCRICAO'
      ListSource = DSPortador
      TabOrder = 8
      OnKeyDown = DBLCBTipoDocumentoKeyDown
    end
    object DBLCBPlano: TDBLookupComboBox
      Left = 142
      Top = 90
      Width = 266
      Height = 21
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSPlano
      TabOrder = 9
      OnKeyDown = DBLCBTipoDocumentoKeyDown
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      
        'select  COB_CODIGO,COB_DATA,COB_TIPO,COB_VALOR,COB_NPRESTACAO,CO' +
        'B_NDIASPRIMEIRAPRESTACAO,COB_PEDIDOVENDA,COB_ROMANEIO,COB_NFVEND' +
        'A,COB_ITERVALODIASPRESTACAO,COB_SITUACAO,PlanoContas.Descricao,P' +
        'ort_Descricao,Tipo_Doc_Descricao'
      
        'from cobranca Left join PlanoContas on COB_PLANO = PlanoContas.C' +
        'odigo Left Join Portador on COB_PORTADOR = Port_Codigo Left Join' +
        ' TIPODOCUMENTO on COB_TIPODOCUMENTO = Tipo_Doc_Codigo')
    Left = 184
    Top = 217
  end
  inherited DSPesquisa: TDataSource
    Left = 216
    Top = 217
  end
  object DSTipoDocumento: TDataSource
    DataSet = DMFinanceiro.QTipoDocumento
    Left = 344
    Top = 87
  end
  object DSPortador: TDataSource
    DataSet = DMFinanceiro.Qportador
    Left = 72
    Top = 127
  end
  object DSPlano: TDataSource
    DataSet = DMFinanceiro.QPlanoEntrada
    Left = 304
    Top = 127
  end
end
